package com.xzavier.yunlian_interview.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.sql.Time;
import java.util.Date;

@Data
@ToString
@EqualsAndHashCode
@TableName("dailycheckin")
public class ClockRes {
    @TableId("id")
//    @JsonIgnore
    private String id; // 主键
    @TableField("userId")
    @JsonIgnore
    private String userId; // 用户ID
    @TableField("checkinDate")
    private Date checkinDate; // 签到日期
    @TableField("checkinTime")
    private Time checkinTime; // 签到时间
    @JsonIgnore
    private int status; // 状态

}
